package com.maiji.cloud.service;

import java.util.List;

import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.entities.login.AdviceFeedbackEntity;
import com.maiji.cloud.request.BaseDataReqDto;
import com.maiji.cloud.request.ReqMetaData;
import com.maiji.cloud.request.login.AdviceFeedbackListReqData;
import com.maiji.cloud.request.login.AdviceFeedbackReqData;
import com.maiji.cloud.response.BaseDataResDto;
import com.maiji.cloud.response.BaseMetaResDto;
import com.maiji.cloud.response.BaseResDto;
import com.maiji.cloud.response.login.AdviceFeedbackListResData;

public interface AdviceFeedbackService extends IService<AdviceFeedbackEntity>{
	/**
	 * 用户意见反馈
	 * @param param
	 * @param maijiToken
	 * @return
	 */
	BaseResDto addAdviceFeedback(BaseDataReqDto<AdviceFeedbackReqData> param, String maijiToken);
	/**
	 * 意见反馈列表（分页）
	 * @param param
	 * @return
	 */
	BaseDataResDto<List<AdviceFeedbackListResData>> getAdviceFeedbackList(BaseDataReqDto<AdviceFeedbackListReqData> param);

    BaseMetaResDto<List<AdviceFeedbackEntity>> findAllAdviceFeedbacks (AdviceFeedbackEntity adviceFeedback, ReqMetaData metaData);

    BaseResDto replyAdviceFeedback(AdviceFeedbackEntity afb);
}
